<?php
	header('Access-Control-Allow-Origin: *');
  //应用的APPID
  $app_id = "101280866";
  //应用的APPKEY
  //$app_secret = "4d6ab66a40261338555f022d7c4c8249";
  
  $open_id = $_REQUEST['open_id'];
  
  $access_token = $_REQUEST['access_token'];
  
  
  //https://graph.qq.com/user/get_user_info?access_token=YOUR_ACCESS_TOKEN&oauth_consumer_key=YOUR_APP_ID&openid=YOUR_OPENID
  $token_url = "https://graph.qq.com/user/get_user_info?access_token=" . $access_token . "&oauth_consumer_key=". $app_id . "&openid=" . $open_id;
  
  
  
  
  $response = file_get_contents($token_url);
  
 	
  echo ( $response  );
  
